<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE>
<html>
   <head>
    <meta charset="utf-8">
    <title></title>
    <meta name="description" content="">
    <meta name="author" content="">
    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <link href="css/page.css" rel="stylesheet" type="text/css" />
    <link href="css/base.css" rel="stylesheet" type="text/css" />
   </head>
   <body>
     <div class="container">
         <div class="header content">
             <h1 class="lead">Web Project</h1>
             <a href="admin/loginPage" class="login_link">管理员登陆</a>    
         </div>
      
      <div class="app_slider content">
         <ul id="pikame" class="jcarousel-skin-pika">
			<li><img src="img/img1.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img2.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img3.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img4.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img5.jpg"/><span>这里可以加一些文字.</span></li>
            <li><img src="img/img1.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img2.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img3.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img4.jpg"/><span>这里可以加一些文字.</span></li>
			<li><img src="img/img5.jpg"/><span>这里可以加一些文字.</span></li>
		</ul>
      </div>
         
         <div class="divider_line content"></div>
         <s:if test="list.isEmpty()">
             <div class="app_list_container content">
         		        <div class="no_file_tip">
                           <img src="img/no_file_tip.png"/>
                        </div>
              </div>
         </s:if>
          <s:iterator value="list" id="apps">
         		<div class="app_list_container content">
         		    
          			<div class="sorter"><img src="img/arrow.png"/></div>
            		<div class="time">
            			<s:iterator value="apps" id="app" status="status">
         					<s:if test="#status.getCount() == 1">
         						<s:date format="yyyy年MM月" name="#app.updatedTime"/>
         					</s:if>
         				</s:iterator>
            		</div>
           			<table class="app_list" cellspacing="35">
         				<s:iterator value="apps" id="app" status="status">
         					<s:if test="#status.getCount() == 1"><tr></s:if>
         					<s:elseif test="(#status.getCount()-1) % 6 == 0"></tr><tr></s:elseif>
         					<s:else></s:else>
         						<td class="app_item">
         							<a href="application_findById?id=<s:property value="#app.id"/>"><img src=".<s:property value="#app.icon"/>" width="40%" height="40%" /></a><br>
         						</td>
         				</s:iterator>
         				</tr>
         			</table>
         		</div>
         </s:iterator>
         <div class="divider_line content"></div>
         
         <div class="bottom_container content">
              Copyright@2012-2013<br>
         </div>
     </div>
     
     <script src="js/jquery.min.js"></script>
   	<script src="js/jquery.jcarousel.min.js"></script>
   	<script src="js/jquery.pikachoose.js"></script> 
  	<script language="javascript">
	$(document).ready(
		function (){
			$("#pikame").PikaChoose(
			   {carousel:false,text:{previous:"",next:""},carousel:true});
		});
   </script>
   </body>
</html>